package com.ourgame.tankgame.behavior;

import com.jme3.asset.AssetManager;
import com.jme3.bullet.collision.shapes.SphereCollisionShape;
import com.jme3.bullet.control.RigidBodyControl;
import com.ourgame.tankgame.control.BombControl;

public class BulletPhysicsBehavior implements PhysicsBehavior {
    
    AssetManager assetManager;
    

	public void performPhysicsBehavior() {
//		throw new UnsupportedOperationException();
                SphereCollisionShape bulletCollisionShape = new SphereCollisionShape(0.4f);
                RigidBodyControl bulletNode = new BombControl(assetManager, bulletCollisionShape, 1);
//                bulletNode.setLinearVelocity(cam.getDirection().mult(25));
//                bulletg.addControl(bulletNode);
//                rootNode.attachChild(bulletg);
//                getPhysicsSpace().add(bulletNode);
            
	}

}